//
//  DataModel.m
//  ZJWR
//
//  Created by myqu on 14-8-20.
//  Copyright (c) 2014年 3TI. All rights reserved.
//

#import "DataModel.h"
#import "ErrorCodePlistOption.h"

@implementation JsonRetMsg

// 获取错误码对应的错误信息
-(void)getErrorMsg
{
//    self.errorMsg = [[ErrorCodePlistOption shareInstance] getErrorMsgByCode:self.result];
//    if(self.errorMsg == nil)
//        [self getSpecialErrorMsg];
}

-(void)getSpecialErrorMsg
{
    //TODO: 定义网络异常等错误提示
//    NSString *str = @"统一提示";
//    self.message = str;
    
}

-(NSString *)description{
    
    NSMutableString *descripString = [NSMutableString stringWithFormat:@""];
    [descripString appendString:@"\n========================Response Info===========================\n"];
    [descripString appendFormat:@"Response Code:%@\n",self.success];
    [descripString appendFormat:@"Response Content:\n%@\n",self.data];
    [descripString appendString:@"===============================================================\n"];
    return descripString;
}
@end

@implementation LocationModel  
@end

@implementation LoginModel
@end

@implementation ParkingSearchModel
@end

@implementation ParkingSpaceInfoModel

@end

@implementation ParkPortModel

@end

@implementation BookParkingPortOrderModel

@end

@implementation SubBookingOrderModel

@end

@implementation BookingOrderDetailModel

@end

@implementation MyCarListModel

@end